package com.zk.iotgateway.service;

import com.zk.iotgateway.domain.param.IotConfigDO;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author:mn.m
 * @create 2019-05-04 下午 08:15
 **/

public interface IotConfigService {


     public List  findAll();

      public List  findAllValid();

     public void addConfig(IotConfigDO iotConfigDO);

     public void editConfig(IotConfigDO iotConfigDO);

     public void removeConfg(String port);

     public IotConfigDO findConfigByPort(String port);

     public boolean establish(IotConfigDO iotConfigDO);

     public boolean shutdown(String port);


}
